public class B extends A {
  @Override
  public void foo() {}
}
